﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="custom"  elementFormDefault="qualified"  xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" attributeFormDefault="unqualified">
  <xs:include id="CamlView" schemaLocation="camlview.xsd" />
  <xs:include id="wss" schemaLocation="wss.xsd" />
  <xs:element name="ContentType" type="ContentTypeDefinition"></xs:element>
  <xs:element name="Field" type="FieldDefinition"></xs:element>
  <xs:element name="View" type="ViewDefinition"></xs:element>
  <xs:element name="Query" type="CamlQueryRoot"/>
  <xs:element name="XmlDocuments" type="XmlDocumentDefinitionCollection" />

  <xs:element name="Joins">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Join" type="LogicalJoinDefinition"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ProjectedFields">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Field" type="ProjectedFieldDefinition"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  
</xs:schema>
 